<?php
namespace haibao\erp\model\data\user;

class UserOperateHistory extends \haibao\erp\model\data\base{
	/**
	 * 用户Id
	 */
	public $UserId;
	/**
	 * 操作类型
	 */
	public $OperateType;
	/**
	 * 操作时间
	 */
	public $OperateTime;
	/**
	 * 操作数据
	 */
	public $OperateData;
	/**
	 * 操作用户
	 */
	public $User;
	
	/**
	 * 显示信息(图标或者标题内容)
	 */
	public $info;
	
	public function __construct(){
		parent::__construct();
		$this->intField('UserId', 'UserId',true);
		$this->intField('OperateType', 'OperateType',true);
		$this->intField('OperateTime', 'OperateTime',true);
		$this->dateField('OperateData', 'OperateData',false);
		
		$this->setTableName('UserOperateHistory');
	}
}